package com.noahsloan.nutils.function;

/**
 * Generic interface for 0 parameter functions. While it certainly can't
 * describe all 0 parameter functions, it can capture a good chunk of them.
 * 
 * @author noah
 * 
 * @param <Return>
 *            the return type
 * @param <Excep>
 *            the exception type thrown
 */
public interface Function0<Return, Excep extends Throwable> {
	Return apply() throws Excep;
}
